<table id="supplier" class="ui-widget ui-widget-content" width="100%">
	<tr>
		<td width="30%"><label>商家类别</label></td>
		<td>
			<?php
			foreach ($result_supplier_category as $item){
				if($item->id==$result->sup_cate_id){
					echo $item->name;
				}
			}
			?>
		</td>
	</tr>
	<tr>
		<td width="30%">名称</td>
		<td><?php echo $result->name?></td>
	</tr>
	<tr>
		<td>地址</td>
		<td><?php echo $result->address?></td>
	</tr>
	<tr>
		<td>路段</td>
		<td><?php echo $result->road?></td>
	</tr>
	<tr>
		<td>固话1</td>
		<td><?php echo $result->phone?></td>
	</tr>
	<tr>
		<td>固话2</td>
		<td><?php echo $result->phone2?></td>
	</tr>
	<tr>
		<td>手机1</td>
		<td><?php echo $result->telephone?></td>
	</tr>
	<tr>
		<td>手机2</td>
		<td><?php echo $result->telephone2?></td>
	</tr>
	<tr>
		<td>营业时间</td>
		<td>从<?php echo $result->starttime.':00&nbsp;至&nbsp;'.$result->endtime.':00';?>
	</tr>

	<tr>
		<td>起送金额</td>
		<td><?php echo $result->leastprice.'(元)'?></td>
	</tr>
	<tr>
		<td>外卖范围</td>
		<td><?php echo $result->leastdistance.'(km)'?></td>
	</tr>
	<tr>
		<td>人均价格</td>
		<td><?php echo $result->avgprice.'(元)'?></td>
	</tr>
	<tr>
		<td>排序</td>
		<td><?php echo $result->sort?></td>
	</tr>
	<tr>
		<td>加入时间</td>
		<td><?php echo $result->jointime?></td>
	</tr>
		<tr>
		<td>几个人吃过</td>
		<td><?php echo $result->consumerecord?></td>
	</tr>
	<tr>
		<td>图片地址</td>
		<td><?php 
			if (!empty($result->picture)){
					echo '<a target="_blank" href="'.URL::domain().SUP_IMG_PATH.$result->picture.'"><img src="'.URL::domain().SUP_IMG_PATH.$result->picture.'" style="height:14ps" width="200ps" /></a>';
				}
			?></td>
	</tr>
	<tr>
		<td>送餐说明</td>
		<td><textarea name="deliverydesc" id="deliverydesc" disabled="disabled"
			class="text ui-widget-content ui-corner-all desc"><?php echo $result->deliverydesc?></textarea></td>
	</tr>
	<tr>
		<td>商家描述</td>
		<td><textarea name="desc" id="desc" disabled="disabled"
			class="text ui-widget-content ui-corner-all desc"><?php echo $result->desc?></textarea></td>
	</tr>
</table>
